<?php

namespace App\Admin\Metrics;

use Dcat\Admin\Widgets\Metrics\Card;
use Illuminate\Contracts\Support\Renderable;
use Illuminate\Http\Request;

class Screen extends Card
{
    /**
     * 初始化卡片.
     */
    protected function init()
    {
        parent::init();

        $this->title('监测大屏');
    }

    /**
     * 渲染卡片内容.
     *
     * @return string
     */
    public function renderContent()
    {
        $content = parent::renderContent();

        return <<<HTML
<h1 class="ml-1 mt-1 font-weight-bold text-80">
   <a href="/s" target="_blank">数据监测大屏 &#62&#62</a>
</h1>
HTML;
    }
}
